package com.ssh.entity;

import java.sql.Timestamp;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

@Entity
public class SellerAssess extends BaseEntity{
	private static final long serialVersionUID = 6002548593623858681L;
	private Integer yibiao;
	private Integer kaoqin;
	private Integer zhishi;
	private Integer jiqiao;
	private Timestamp createDate;
	
	private Task task;
	private Seller seller;
	
	public SellerAssess() {
	}

	@ManyToOne(cascade ={CascadeType.REFRESH},fetch = FetchType.LAZY)       
    @JoinColumn(name="taskId")
	public Task getTask() {
		return task;
	}

	public void setTask(Task task) {
		this.task = task;
	}

	@ManyToOne(cascade ={CascadeType.REFRESH},fetch = FetchType.LAZY)       
    @JoinColumn(name="sellerId")
	public Seller getSeller() {
		return seller;
	}

	public void setSeller(Seller seller) {
		this.seller = seller;
	}

	public Integer getYibiao() {
		return this.yibiao;
	}

	public void setYibiao(Integer yibiao) {
		this.yibiao = yibiao;
	}

	public Integer getKaoqin() {
		return this.kaoqin;
	}

	public void setKaoqin(Integer kaoqin) {
		this.kaoqin = kaoqin;
	}

	public Integer getZhishi() {
		return this.zhishi;
	}

	public void setZhishi(Integer zhishi) {
		this.zhishi = zhishi;
	}

	public Integer getJiqiao() {
		return this.jiqiao;
	}

	public void setJiqiao(Integer jiqiao) {
		this.jiqiao = jiqiao;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}
}